package com.cloudkinto.service.replacement.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author fanp
 * @version v1.0.0
 * @Description :
 * @Create on : 2021/2/22 17:01
 **/
@Data
@ApiModel
public class ReplacementTruckReq implements Serializable {

    @ApiModelProperty("id")
    @NotNull
    private Long id;

    @ApiModelProperty("运输公司")
    @NotNull
    private Long trackId;

    @ApiModelProperty("运输单号")
    @NotEmpty(message = "order.track.number.null")
    private String trackNumber;

}
